package com.one.rope.mvp.web.business.service;

import com.one.rope.mvp.web.business.entity.CompanyProjectPartner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.one.rope.mvp.web.common.dto.admin.partner.AdminEditPartnerDTO;
import com.one.rope.mvp.web.common.dto.admin.partner.CompanyPartnerDetailVO;
import com.one.rope.mvp.basecore.bean.ResponseObject;
import com.one.rope.mvp.web.common.dto.user.business.PartnerListItemVO;
import java.util.List;

/**
 * <p>
 * 项目合伙人岗位表 服务类
 * </p>
 *
 * @author wesley
 * @since 2020-02-20
 */
public interface ICompanyProjectPartnerService extends IService<CompanyProjectPartner> {

  /**
   * 修改合伙人信息
   */
  ResponseObject editPartner(AdminEditPartnerDTO requestDTO);

  /**
   * 删除合伙人岗位
   */
  void deletePartner(Long id);

  /**
   * 查询合伙人详细信息
   */
  CompanyPartnerDetailVO partnerDetail(Long id);

  /**
   * 查询合伙人列表
   * @param companyId
   * @return
   */
  List<PartnerListItemVO> selectPartnerList(Long companyId);
}
